package jgl.vajra.operator.part.mine.contract;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.databinding.ActivityCarNameBinding;
import jgl.vajra.operator.widget.mvvm.model.BaseModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.operator.widget.mvvm.viewmodel.BaseViewModel;

public class CarNameContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<List<String>> getCarDefaultName(Map<String, Object> map);

        public abstract Observable<String> carModifyTitle(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onDetermine();

        void returnCarModifyTitle(String data);

        void returnCarDefaultName(List<String> data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityCarNameBinding, Model> {
        public abstract void getCarDefaultName(Map<String, Object> map);

        public abstract void carModifyTitle(Map<String, Object> map);

    }
}
